package com.laowang.project.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.laowang.project.system.mapper.MyCyhClubAuthOptionsMapper;
import com.laowang.project.system.domain.MyCyhClubAuthOptions;
import com.laowang.project.system.service.MyCyhClubAuthOptionsService;

/**
 * 认证示例Service业务层处理
 *
 * @author laowang
 * @date 2024-07-30
 */
@Service
public class MyCyhClubAuthOptionsServiceImpl implements MyCyhClubAuthOptionsService {
    @Autowired
    private MyCyhClubAuthOptionsMapper myCyhClubAuthOptionsMapper;

    /**
     * 查询认证示例
     *
     * @param id 认证示例ID
     * @return 认证示例
     */
    @Override
    public MyCyhClubAuthOptions selectMyCyhClubAuthOptionsById(Integer id) {
        return myCyhClubAuthOptionsMapper.selectMyCyhClubAuthOptionsById(id);
    }

    /**
     * 查询认证示例列表
     *
     * @param myCyhClubAuthOptions 认证示例
     * @return 认证示例
     */
    @Override
    public List<MyCyhClubAuthOptions> selectMyCyhClubAuthOptionsList(MyCyhClubAuthOptions myCyhClubAuthOptions) {
        return myCyhClubAuthOptionsMapper.selectMyCyhClubAuthOptionsList(myCyhClubAuthOptions);
    }

    /**
     * 新增认证示例
     *
     * @param myCyhClubAuthOptions 认证示例
     * @return 结果
     */
    @Override
    public int insertMyCyhClubAuthOptions(MyCyhClubAuthOptions myCyhClubAuthOptions) {
        return myCyhClubAuthOptionsMapper.insertMyCyhClubAuthOptions(myCyhClubAuthOptions);
    }

    /**
     * 修改认证示例
     *
     * @param myCyhClubAuthOptions 认证示例
     * @return 结果
     */
    @Override
    public int updateMyCyhClubAuthOptions(MyCyhClubAuthOptions myCyhClubAuthOptions) {
        return myCyhClubAuthOptionsMapper.updateMyCyhClubAuthOptions(myCyhClubAuthOptions);
    }

    /**
     * 批量删除认证示例
     *
     * @param ids 需要删除的认证示例ID
     * @return 结果
     */
    @Override
    public int deleteMyCyhClubAuthOptionsByIds(Integer[] ids) {
        return myCyhClubAuthOptionsMapper.deleteMyCyhClubAuthOptionsByIds(ids);
    }

    /**
     * 删除认证示例信息
     *
     * @param id 认证示例ID
     * @return 结果
     */
    @Override
    public int deleteMyCyhClubAuthOptionsById(Integer id) {
        return myCyhClubAuthOptionsMapper.deleteMyCyhClubAuthOptionsById(id);
    }
}
